package com.gy.spring.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("email")
public class EmailController {

    @RequestMapping("template")
    public String template(Model model) {
        model.addAttribute("mail", "572119197@qq.com");
        return "EmailTemplate";
    }


}
